package com.miniot.base.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
//@Builder
@AllArgsConstructor
@NoArgsConstructor
public class WarehouseManageVO {
    /** 雪花算法生成的主键 */
    @ApiModelProperty(value = "雪花算法生成的主键")
    private Long id;
    /** 备注 */
    @ApiModelProperty(value = "备注")
    private String remark;
    /** 仓库名称 */
    @NotBlank(message = "仓库名称不能为空")
    @ApiModelProperty(value = "仓库名称")
    private String warehouseName;
    /** 仓库位置 */
    @ApiModelProperty(value = "仓库位置")
    @NotBlank(message = "仓库位置不能为空")
    private String warehouseAddress;
    /** 仓库管理员 */
    @NotBlank(message = "仓库管理员不能为空")
    @ApiModelProperty(value = "仓库管理员")
    private String warehouseManager;
    /** 仓库管理员 */
    @ApiModelProperty(value = "仓库管理员id")
    @NotNull(message = "仓库管理员id不能为空")
    private Long warehouseId;
}
